Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
12 lines (9 loc) · 210 Bytes

2.1.10 - Server->shutdown.md

File metadata and controls

12 lines (9 loc) · 210 Bytes

Server->shutdown

关闭服务器

void Server->shutdown();

此函数可以用在Worker进程内。向主进程发送SIGTERM也可以实现关闭服务器。

kill -15 主进程PID